//
// Created by THE13 on 2024/2/6.
//

#include "list_model.h"

//动画结构体
SecondOrderDynamics_t Rbox_posYani;//Y方向
SecondOrderDynamics_t Rbox_shapAni;//形状
//ICON BOX
SecondOrderDynamics_t ProgressBar_Ani;//形状

void LIST_Animation_init(void)
{
    menu_t *pr;
    /*页面名字的动画*/
    pr =  pageMain;
    for(;pr!=NULL;pr=pr->same_next) {
        SysInit(pr->ani , 2.0f, 0.8f, 0.0f, 0.0f);
    }
    /*LIST->页面列表的动画*/
    pr =  pageMain->next;
    for(;pr!=NULL;pr=pr->same_next) {
        SysInit(pr->ani , 2.0f, 0.8f, 0.12f, 40.0f);
    }
    /*LIST->页面列表的动画*/
    pr =  pageShow->next;
    for(;pr!=NULL;pr=pr->same_next) {
        SysInit(pr->ani , 2.0f, 0.8f, 0.12f, 40.0f);
    }
    //LIST模式方块的动画
    SysInit(&Rbox_posYani ,  2.0f, 0.5f, 1.00f, 40.0f);
    SysInit(&Rbox_shapAni ,  2.0f, 0.5f, 1.0f, 0.0f);


    //提示框的动画
    SysInit(&ProgressBar_Ani ,  2.0f, 0.5f, 1.00f, 40.0f);

}
